package com.dw.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dw.model.user.dtos.AddUserFollowDTO;
import com.dw.model.user.entitys.UserFollow;
import com.dw.model.user.entitys.UserInfo;
import com.dw.model.user.vos.GetUserVO;

import java.util.List;

/**
 * 用户关注表(UserFollow)表服务接口
 *
 * @author makejava
 * @since 2024-10-17 09:16:08
 */
public interface UserFollowService extends IService<UserFollow> {

    void follow(AddUserFollowDTO addUserFollowDTO);

    Boolean isFollow(Long userId,Long followId);

    List<GetUserVO> getAllFollow(Long userId);

    List<GetUserVO> getAllFans(Long userId);
}

